package com.miracle9.game.entity;

import javax.persistence.Entity;

@Entity
public class LoginRecord
  extends BaseEntity
{
  private int userId;
  private int userType;
  private String loginDate;
  private String loginIp;
  
  public LoginRecord(int userId, int userType, String loginDate, String loginIp)
  {
    this.userId = userId;
    this.userType = userType;
    this.loginDate = loginDate;
    this.loginIp = loginIp;
  }
  
  public String getLoginDate()
  {
    return this.loginDate;
  }
  
  public void setLoginDate(String loginDate)
  {
    this.loginDate = loginDate;
  }
  
  public LoginRecord() {}
  
  public String getLoginIp()
  {
    return this.loginIp;
  }
  
  public void setLoginIp(String loginIp)
  {
    this.loginIp = loginIp;
  }
  
  public int getUserId()
  {
    return this.userId;
  }
  
  public void setUserId(int userId)
  {
    this.userId = userId;
  }
  
  public int getUserType()
  {
    return this.userType;
  }
  
  public void setUserType(int userType)
  {
    this.userType = userType;
  }
}
